<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'bt-battery-form',
	'enableAjaxValidation'=>false,
	'htmlOptions'=>array(
		'class' => 'form collapsed',
	),
)); ?>
<fieldset class="grey inline">
	<legend><?php echo Controller::getActionName($this->action->id); ?></legend>
	
	<div class="notification tip" style="display: block; "> 
    <span class="strong">Tip:</span> <?php echo $form->errorSummary($model); ?>
 <span class="close" title="Dismiss"></span>
    </div>
    	<label>
		<?php echo $form->labelEx($model,'RECORD_ID'); ?>
		<?php echo $form->textField($model,'RECORD_ID'); ?>
		<?php //echo $form->error($model,'BASE_N'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'BASE_N'); ?>
		<?php echo $form->textField($model,'BASE_N'); ?>
		<?php //echo $form->error($model,'BASE_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'GROUPNAME_V'); ?>
		<?php echo $form->textField($model,'GROUPNAME_V',array('size'=>60,'maxlength'=>255)); ?>
		<?php //echo $form->error($model,'GROUP_V'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'BATTERYTYPE_V'); ?>
		<?php echo $form->textField($model,'BATTERYTYPE_V'); ?>
		<?php //echo $form->error($model,'BATTERYTPYE_V'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'BATTERYNUM_N'); ?>
		<?php echo $form->textField($model,'BATTERYNUM_N'); ?>
		<?php //echo $form->error($model,'SERIAL_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'SETUP_D'); ?>
		<?php echo $form->textField($model,'SETUP_D'); ?>
		<?php //echo $form->error($model,'SETUP_D'); ?>
	</label>



	<label>
		<?php echo $form->labelEx($model,'CREATE_USERID'); ?>
		<?php echo $form->textField($model,'CREATE_USERID'); ?>
		<?php //echo $form->error($model,'CREATE_USERID'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'CUR_DATE'); ?>
		<?php echo $form->textField($model,'CUR_DATE'); ?>
		<?php //echo $form->error($model,'STATUS_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'DEVICE_V'); ?>
		<?php echo $form->textField($model,'DEVICE_V',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'CURVAL_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'IP_V'); ?>
		<?php echo $form->textField($model,'IP_V',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'CURINNER_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'PORT_N'); ?>
		<?php echo $form->textField($model,'PORT_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'CUR_ELECTRIC_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'ADDR_N'); ?>
		<?php echo $form->textField($model,'ADDR_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'CUR_HL_INNER_N'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'EVENT_NUM'); ?>
		<?php echo $form->textField($model,'EVENT_NUM',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'CUR_HL_INNER_N'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'SETUPADDR_V'); ?>
		<?php echo $form->textField($model,'SETUPADDR_V',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'FORCASTVOLUME_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'POWERSUPPLY_V'); ?>
		<?php echo $form->textField($model,'POWERSUPPLY_V',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'FORCASTVOLUME_N'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'ALARMRED_N'); ?>
		<?php echo $form->textField($model,'ALARMRED_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'TESTVOLUME_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'NORMALRED_N'); ?>
		<?php echo $form->textField($model,'NORMALRED_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'POWERSUPPLY_N'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'NORMALYELLOW_N'); ?>
		<?php echo $form->textField($model,'NORMALYELLOW_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'POWERSUPPLY_N'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'ALARMYELLOW_N'); ?>
		<?php echo $form->textField($model,'ALARMYELLOW_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'POWERSUPPLY_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'STATUS_N'); ?>
		<?php echo $form->textField($model,'STATUS_N',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'BACKLOAD_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'GREEN'); ?>
		<?php echo $form->textField($model,'GREEN',array('size'=>60,'maxlength'=>255)); ?>
		<?php //echo $form->error($model,'REMARK_V'); ?>
	</label>
	
	
	
	
	<label>
		<?php echo $form->labelEx($model,'YELLOW'); ?>
		<?php echo $form->textField($model,'YELLOW',array('size'=>10,'maxlength'=>10)); ?>
		<?php //echo $form->error($model,'BACKLOAD_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'RED'); ?>
		<?php echo $form->textField($model,'RED',array('size'=>60,'maxlength'=>255)); ?>
		<?php //echo $form->error($model,'REMARK_V'); ?>
	</label>
	<label>
		<?php echo $form->labelEx($model,'REMARK_V'); ?>
		<?php echo $form->textField($model,'REMARK_V',array('size'=>60,'maxlength'=>255)); ?>
		<?php //echo $form->error($model,'REMARK_V'); ?>
	</label>
	<?php echo CHtml::submitButton($model->isNewRecord ? '创建' : '保存',array('class'=>'button blue')); ?>
</fieldset>
<?php $this->endWidget(); ?>

